#pragma once
#include <QGraphicsRectItem>
class GraphicsBaseItem;

class GraphicsWatermarkItem : public QGraphicsRectItem
{
public:
	GraphicsWatermarkItem(GraphicsBaseItem* parent = nullptr);
protected:
	virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
private:
	QImage m_watermarkImage;
	GraphicsBaseItem* m_parent = nullptr;
};

